[PATCH] Don't leak file descriptors when spawning new workers
authorKevin Ottens <kevin.ottens@enioka.com>
Fri, 5 Jan 2024 10:51:49 +0000 (11:51 +0100)
committerPatrick Franz <deltaone@debian.org>
Tue, 16 Sep 2025 16:12:26 +0000 (18:12 +0200)
commit3e8752d11544d6320c996ab36e1962ed82756939
tree60e745c3596e39379f230eae1485eaabef8db2d6
parent9f90fd51242ff71c0eb2e2c40be0ce07b86111fa
[PATCH] Don't leak file descriptors when spawning new workers

By default we inherit file descriptors from the parent in
the worker process. This is a leak of resources since the
worker won't be able to do anything with them. Also, in
the case of CIFS this causes locks which might lead to bad
surprises in the parent process.

Gbp-Pq: Name fix_cifs_file_locks.patch
src/kioslave/kioslave.cpp